package object;


import java.io.Serializable;

public abstract class BaseObject<E extends BaseObject<E>> implements Serializable {

    protected String fmt;                  //type of object
    protected String key;                  //key of object
    protected String mode;                 //mode of object
    protected String name;                 //name of the file or directory
    protected String path;
    protected String content;

    public String getFmt() {
        return fmt;
    }

    public String getKey() {
        return key;
    }

    public String getMode() {
        return mode;
    }

    public String getName() {
        return name;
    }

    public String getPath() {
        return path;
    }
    public String getContent(){
        return content;
    }
    public abstract void writeObject();

}
